<?php

/**
 * users模型
 * auther 孙凯
 * date 20201223 17:38
 */
namespace App\Http\Controllers\Dsc\Model;


use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;

class Users extends Model
{

    public static function getusers($userid)
    {
        return DB::connection('mysql2')->table('users')->where(['user_id'=>$userid])->first();
    }

}